package com.axzhengxin.platform.assistant.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 biz_market_user
 * 
 * @author axzhengxin
 * @date 2021-03-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizMarketUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 关联biz_market_info中id */
    @Excel(name = "关联biz_market_info中id")
    private Long marketId;

    /** 可以查看的人 */
    @Excel(name = "可以查看的人")
    private Long marketUser;

    /** 查看人所在部门 */
    @Excel(name = "查看人所在部门")
    private Long marketUserDept;

    /** 0-创建者 1-被分发者 */
    @Excel(name = "0-创建者 1-被分发者")
    private String marketStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMarketId(Long marketId) 
    {
        this.marketId = marketId;
    }

    public Long getMarketId() 
    {
        return marketId;
    }
    public void setMarketUser(Long marketUser) 
    {
        this.marketUser = marketUser;
    }

    public Long getMarketUser() 
    {
        return marketUser;
    }
    public void setMarketUserDept(Long marketUserDept) 
    {
        this.marketUserDept = marketUserDept;
    }

    public Long getMarketUserDept() 
    {
        return marketUserDept;
    }
    public void setMarketStatus(String marketStatus) 
    {
        this.marketStatus = marketStatus;
    }

    public String getMarketStatus() 
    {
        return marketStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("marketId", getMarketId())
            .append("marketUser", getMarketUser())
            .append("marketUserDept", getMarketUserDept())
            .append("marketStatus", getMarketStatus())
            .toString();
    }
}
